<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta charset="utf-8"/>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>运行状态监控工具</title>
    <meta name="description" content="这是一个 login 页面">
    <meta name="keywords" content="login">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="icon" type="image/png" href="${ctx}/assets/i/favicon.png">
    <link rel="apple-touch-icon-precomposed" href="${ctx}/assets/i/app-icon72x72@2x.png">
    <meta name="apple-mobile-web-app-title" content="Amaze UI" />
    <link rel="stylesheet" type="text/css" href="${ctx}/assets/css/login2.css"/>
    <link rel="stylesheet" type="text/css" href="${ctx}/assets/css/xcConfirm1.css"/>
    <style type="text/css">
        #code {
            cursor: pointer;
        }
    </style>
    <script>
        function createCode(){
            code.src = "<%=request.getContextPath()%>/IdentifyCode.png?"+ new Date();
        }
    </script>
    <script>
        <!-- 解决登录页面嵌套问题 -->
        if (window != top){
            top.location.href = location.href;
        }
 
    </script>
</head>
<body onload="createCode()">
<form role="form" method="POST" action="LoginServlet">
    <dl class="admin_login">
        <dt>
            <strong>登陆界面</strong>
            <em>loginView</em>
        </dt>
        <dt class="error">
        </dt>
        <dd>
            <img src="${ctx}/assets/img/user_icon_copy.png" style="padding-right: 3px;">
            <input type="text" placeholder="用户名" id="username" name="username" class="login_txtbx" value=""/>
        </dd>
        <dd >
            <img src="${ctx}/assets/img/lock_icon_copy.png" style="padding-right: 5px;">
            <input type="password" placeholder="密码" id="password" name="password" class="login_txtbx"/>
        </dd>
        <dd style="display: none;">
            <img src="${ctx}/assets/img/key.png">
            <input type="text" placeholder="验证码" id="validate" name="validate" id="input" class="verification"/>
            <img id="code" src="IdentifyCode.png" style="width: 90px;position: absolute;left: 201px;top: 0px;" onclick="createCode()"/>
        </dd>

        <dd style="display: none;">
            <input type="checkbox" name="remember" checked> 记住我
        </dd>
        <dd>
            <input type="button" value="立即登陆" class="submit_btn" onclick="checkLogin()"/>
        </dd>
    </dl>
</form>
<script src="${ctx}/assets/js/jQuery/jquery.min.js"></script>
<script src="${ctx}/assets/js/jQuery/jquery-1.9.1.js"></script>
<script src="${ctx}/assets/js/common/Particleground.js"></script>
<script src="${ctx}/assets/js/common/xcConfirm.js"></script>
<script src="${ctx}/assets/js/common/config.js"></script>
<script src="${ctx}/assets/js/layer/layer.js"></script>
</body>
</html>
